<?php

namespace Response;

class JsonResponse extends Response
{
    public function prepareData($data)
    {
        return json_encode($data, JSON_FORCE_OBJECT);
    }
}
